import { Cookie, CookieJar } from "tough-cookie";
import { FileCookieStore } from "tough-cookie-file-store";
import config from "../config.js";

const cookieJar = new CookieJar(new FileCookieStore(config.cookiePath));

export { cookieJar, Cookie };
